package net.maku.module.car.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import net.maku.framework.common.utils.DateUtils;
import java.math.BigDecimal;
import java.util.Date;

/**
* 业务_车辆
*
* @author    
*/
@Data
@Schema(description = "业务_车辆")
public class CarVO implements Serializable {
	private static final long serialVersionUID = 1L;

	@Schema(description = "主键")
	private Long id;

	@Schema(description = "创建人")
	private Long creator;

	@Schema(description = "创建时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date createTime;

	@Schema(description = "更新人")
	private Long updater;

	@Schema(description = "更新时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date updateTime;

	@Schema(description = "版本")
	private Integer version;

	@Schema(description = "删除标识")
	private Integer deleted;

	@Schema(description = "车辆名称")
	private String name;

	@Schema(description = "车牌号")
	private String plateNumber;

	@Schema(description = "车型")
	private Long carTypeId;

	@Schema(description = "分类")
	private Long classifyId;

	@Schema(description = "品牌型号")
	private String modelStr;

	@Schema(description = "车座")
	private Integer saddleNumberStr;

	@Schema(description = "裸车价")
	private BigDecimal carPrice;

	@Schema(description = "交强险到期日期")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date ctiEndDate;

	@Schema(description = "商业险到期日期")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date ciEndDate;

	@Schema(description = "年检日期")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date asDate;

	@Schema(description = "上传照片")
	private String imgUrl;

	@Schema(description = "备注")
	private String remark;

	@Schema(description = "可用范围")
	private Integer isAll;

	@Schema(description = "允许用车申请")
	private Integer isEnable;

	@Schema(description = "用车需审批")
	private Integer isUsedCars;

	@Schema(description = "还车需审批")
	private Integer isReturnCar;

	@Schema(description = "是否空闲")
	private Integer isStatr;


}